package ${sourceBasePackage}.entity;

<#if pkPropertyType != 'String'>
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
</#if>
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * NOTE： ${description}DTO类
 * @author： ${author}
 */
@Data
@ApiModel("${description}DTO类")
public class ${entityName}Dto implements Serializable {

	private static final long serialVersionUID = 1L;

	<#list fields as po>
	<#if po.primaryKey == 'Y' || po.formShow == 'Y'>
	@ApiModelProperty("${po.description}")
	<#if po.primaryKey == 'Y' && po.propertyType != 'String'>
	@JsonSerialize(using = ToStringSerializer.class)
	</#if>
	private ${po.propertyType} ${po.propertyName};
	</#if>
	</#list>

}
